{literal}
<style>
    ul.tcs-new-hot {
        padding : 10px 3px 7px 5px;
        margin-left: 0;
    }

    ul.tcs-new-hot>li {
        border-bottom: 1px solid #CCCCCC;
        padding: 5px 0;
    }

    ul.tcs-new-hot>li:last-child {
        border-bottom : none }

</style>
{/literal}
{if $hot_newss && $title_news}
<div class="box">
<div class="title_sidebar">
    <p>{$title_news}</p>
</div>
<div class="tintuc">
    <ul class="tcs-new-hot">
        {foreach from=$hot_newss item=item name=hot_news}
            <li>
                <a style="font-weight: normal;" href="{$item.url}">{$item.title}</a>
            </li>

        {/foreach}
    </ul>
</div>
</div>
{/if}
{if $is_admin}
    {$begin_form}
<div style="cursor:pointer;margin:10px 0;text-align: center;" onclick="jQuery('#admin_hot_news').toggle();"><strong>Quản lý tin HOT</strong></div>
<div style=";margin:10px 0" id="admin_hot_news" class="hide">
    {$msg}<br/>
    <table cellpadding="5" cellspacing="0" border="0" width="100%">
        <tr>
            <td width="23%" align="right"><strong>Tiêu đề:</strong></td>
            <td width="77%"><input type="text" name="title_news" value="{$title_news}"/></td>
        </tr>
        <tr>
            <td align="right"><strong>ID tin:</strong></td>
            <td><input name="news_ids" type="text" id="news_ids" value="{$news_ids}"/> <strong> (cách nhau bởi dấu (,) VD: 1,2,34)</strong></td>
        </tr>
    </table>
    <input type="submit" name="submit" value="Cập nhật"/>
</div>
    {$end_form}
{/if}
